package com.wl.day44.model;

import java.util.Date;

public class Book implements java.io.Serializable{
	private static final long serialVersionUID = 3705267453769226545L;
	private int bookId;
	private String bookAuthor;
	private String bookDesc;
	private String bookName;
	private Date createDate;
	private BookType type;
	public int getBookId() {
		return bookId;
	}
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	public String getBookAuthor() {
		return bookAuthor;
	}
	public void setBookAuthor(String bookAuthor) {
		this.bookAuthor = bookAuthor;
	}
	public String getBookDesc() {
		return bookDesc;
	}
	public void setBookDesc(String bookDesc) {
		this.bookDesc = bookDesc;
	}
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public BookType getType() {
		return type;
	}
	public void setType(BookType type) {
		this.type = type;
	}
	@Override
	public String toString() {
		return "Book [bookId=" + bookId + ", bookAuthor=" + bookAuthor + ", bookDesc=" + bookDesc + ", bookName="
				+ bookName + ", createDate=" + createDate + ", type=" + type + "]";
	}
}
